Visual Basic (Declaration) | |
---|---|
Public Overloads Shared Function Publish( _ ByVal message As Object, _ ByVal marshal As Action(Of Action) _ ) As Boolean |
Visual Basic (Usage) | ![]() |
---|---|
Dim message As Object Dim marshal As Action(Of Action) Dim value As Boolean value = EventFns.Publish(message, marshal) |
C# | |
---|---|
public static bool Publish( object message, Action<Action> marshal ) |
C++/CLI | |
---|---|
public: static bool Publish( Object^ message, Action<Action^>^ marshal ) |
Parameters
- message
- The message instance.
- marshal
- Allows the publisher to provide a custom thread marshaller for the message publication.
Return Value
True if EventAggregator is available and operation was successfulTarget Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family